package com.cskaoyan.bean.administrators.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description: ${DESCRIPTION}
 * @Author: 徐能雄
 * @Date: 2021/9/16 13:40
 */
@Data
public class RoleOptionsVO<RoleVO> {

    private int total;
    private int pages;
    private int limit;
    private int page;
    private List<RoleVO> list;

    public RoleOptionsVO(ArrayList<RoleVO> roleVOS, int size){
        this.total=size;
        this.pages=1;
        this.limit=size;
        this.page=1;
        this.list=roleVOS;
    }

}
